package com.trailwalker.activity;

import com.trailwalker.javafx.core.activity.Activity;
import com.trailwalker.javafx.utils.style.AdaptUtils;
import com.trailwalker.javafx.utils.style.StyleUtils;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * @author Trailwalker
 * @create 2021-10-19 22:16
 */
public class ImageActivity extends Activity {

    private AdaptUtils adaptUtils;

    @Override
    public void onCreate() {
        super.onCreate();

        adaptUtils = AdaptUtils.getInstance();

        AnchorPane apRoot = new AnchorPane();
        setContentView(apRoot);

        Label label = new Label();
        label.setText("·");

        apRoot.getChildren().add(label);

    }
}
